<template>
  <view class="menus-footer">
    <view class="footer_btn">
      <text @click="handleClickCat">分类设置</text>
    </view>
    <view class="footer_btn">
      <text @click="handleClickGoods">商品添加</text>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    handleClickCat() {
      this.$emit('cat')
    },
    handleClickGoods() {
      this.$emit('goods')
    }
  }
};
</script>

<style scoped lang="scss">
.menus-footer {
  position: fixed;
  bottom: 0;
  height: 100rpx;
  width: 100%;
  border-top: 1px solid $uni-bg-color-grey;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: $uni-color-primary;
}
</style>
